This journal documents the energy demands of mining, refining, drawing and recycling of copper for use inside the PV cell. Probably also applies to copper in wiring (not yet considered)
import numpy as np
import pandas as pd
import os,sys
from pathlib import Path
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 18})
plt.rcParams['figure.figsize'] = (8, 4)
cwd = os.getcwd() #grabs current working directory
supportMatfolder = str(Path().resolve().parent.parent.parent / 'PV_ICE' / 'baselines' / 'SupportingMaterial')
baselinesFolder = str(Path().resolve().parent.parent.parent / 'PV_ICE' / 'baselines')
cu_mining_raw = pd.read_csv(os.path.join(supportMatfolder+"\energy-input-copper-mining.csv"), index_col='year')
cu_mining_raw.dropna(how='all')
| E_CuMining_kWhpkg | PrctFuel | Source | Notes | |
|---|---|---|---|---|
| year | ||||
| 1975 | 15.947000 | NaN | Bravard, J. C., H. B. Flora, and Charles Porta... | mining and milling and flotation of 0.3% Cu or... |
| 1980 | 6.500000 | 90.0 | Pitt, C. H., and M. E. Wadsworth. 1980. “Asses... | includes diesel fuel for hauling, and explosives |
| 1981 | 10.500000 | 0.0 | Pitt, C. H., and M. E. Wadsworth. 1980. “Asses... | Grinding and Concentration |
| 2001 | 1.319000 | 90.0 | Lagos, Gustavo, David Peters, Alvaro Videla, a... | Table 1, open pit mine, likely includes transp... |
| 2002 | 0.611000 | 43.0 | Lagos, Gustavo, David Peters, Alvaro Videla, a... | Table 1, underground mine, likely includes tra... |
| 2007 | 3.775417 | NaN | Marsden, John O. “Energy Efficiency & Copper H... | PYRO |
| 2008 | 7.636778 | NaN | Marsden, John O. “Energy Efficiency & Copper H... | HYDRO with run of mine |
| 2013 | 3.499902 | NaN | Elshkaki, Ayman, T. E. Graedel, Luca Ciacci, a... | range of 30-90 for "primary production", which... |
| 2014 | 2.244400 | 93.0 | Lagos, Gustavo, David Peters, Alvaro Videla, a... | Table 1, open pit mine, likely includes transp... |
| 2015 | 1.097200 | 44.0 | Lagos, Gustavo, David Peters, Alvaro Videla, a... | Table 1, underground mine, likely includes tra... |
| 2019 | 4.023100 | 20.0 | Farjana, Shahjadi Hisan, Nazmul Huda, and M. A... | Table 2 sum energies exclude transport |
fig, ax1 = plt.subplots()
ax1.scatter(cu_mining_raw.index, cu_mining_raw['E_CuMining_kWhpkg'], marker='o')
ax1.set_ylabel('kWh/kg')
ax2 = ax1.twinx()
ax2.scatter(cu_mining_raw.index, cu_mining_raw['PrctFuel'], marker='^', color='red')
ax2.set_ylabel('Percent Fuel [%]', color='red')
ax2.set_ylim(0,100)
plt.title('Cu_Mining_kWhpkg')
plt.show()
The two highest pre-1990 data points include milling and floation, which start getting into processing of the material (pyro vs hydro). The Marsden data points in 2007-2008 have two mining options, and Lagos et al in 2015 has open pit and underground mining. Both sources may include transportation energies.
To reconcile all the nuanced data points, we will take the average of post-1990 energy data.
The percent fuel differs in Lagos et al between openpit and underground. This is likely due to the inclusion of transportation energy (i.e. openpit which involves more driving is higher fuel). Farjana which excludes transportation is 20% fuels, therefore we will use this.
cu_mining_data = cu_mining_raw.loc[1995:,'E_CuMining_kWhpkg']
cu_mining_avg = cu_mining_data.mean()
cu_mining_prctfuel = 20.0
indx_temp = pd.Series(range(1995,2051,1))
cu_mining_energy = pd.DataFrame({'E_Cu_Mining_kWhpkg':cu_mining_avg, 'PrctFuel':cu_mining_prctfuel}, index=indx_temp)
#cu_mining_energy
Pyrometallurgy is the dominant technology for copper mining, although hydrometallurgy market share is growing. Pyro metallurgy is also known as/includes grinding, froth floatation, converting, Smelting, and electrolysis. This final electrorefining step is not to be confused with the hydrometallurgical electrowinning.
This data includes grinding and milling, floatation, smelting, and electrolysis refining.
cu_pyro_raw = pd.read_csv(os.path.join(supportMatfolder+"\energy-input-copper-pyro.csv"), index_col='year')
cu_pyro_raw.dropna(how='all')
| E_Pyro_Cu_kWhpkg | PrctFuel | Source | Notes | |
|---|---|---|---|---|
| year | ||||
| 1980 | 8.57 | 30.0 | Pitt, C. H., and M. E. Wadsworth. 1980. “Asses... | milling (table7.1), smelting, converting, tabl... |
| 2002 | 6.34 | 52.0 | Alvarado, S, P Maldonado, A Barrios, and I Jaq... | concentration, drying, Smelting and electroref... |
| 2007 | 9.62 | 56.0 | Marsden, John O. 2008. “Energy Efficiency & Co... | slide 29, pyro path: HPGR, ball, float, smelt,... |
| 2008 | 12.45 | 53.0 | Marsden, John O. “Energy Efficiency & Copper H... | SAG mill, ball mill, float, gravity, smelt, re... |
fig, ax1 = plt.subplots()
ax1.scatter(cu_pyro_raw.index, cu_pyro_raw['E_Pyro_Cu_kWhpkg'], marker='o')
ax1.set_ylabel('kWh/kg')
ax2 = ax1.twinx()
ax2.scatter(cu_pyro_raw.index, cu_pyro_raw['PrctFuel'], marker='^', color='red')
ax2.set_ylabel('Percent Fuel [%]', color='red')
ax2.set_ylim(0,100)
plt.title('Cu Pyrometallurgy kWhpkg')
plt.show()
The final two datapoints from Marsden are two different process pathways and therefore represent a range of potential energies for pyrometallurgy. The Alvarado data may not include grinding, and therfore may be low. We will take the average of the Marsden data, and do a linear interpolation from the Pitt 1980.
Fuel fractions are fairly consistent across all data, therefore we will take the average.
cu_pyro = cu_pyro_raw.copy()
cu_pyro.loc[2002] = np.nan
cu_pyro_avg_2007 = cu_pyro.loc[2007:2008,'E_Pyro_Cu_kWhpkg'].mean()
cu_pyro.loc[2007:2008,'E_Pyro_Cu_kWhpkg'] = cu_pyro_avg_2007
cu_pyro_filled = cu_pyro.interpolate()
cu_pyro_final = cu_pyro_filled.loc[1995:,'E_Pyro_Cu_kWhpkg':'PrctFuel']
#cu_pyro_final
fig, ax1 = plt.subplots()
ax1.plot(cu_pyro_final.index, cu_pyro_final['E_Pyro_Cu_kWhpkg'])
ax1.set_ylabel('kWh/kg')
ax1.set_xlim(1995,2030)
ax1.set_ylim(0,12)
ax2 = ax1.twinx()
ax2.plot(cu_pyro_final.index, cu_pyro_final['PrctFuel'], color='red')
ax2.set_ylabel('Percent Fuel [%]', color='red')
ax2.set_ylim(0,100)
plt.title('Cu Pyrometallurgy kWhpkg')
plt.show()
cu_hydro_raw = pd.read_csv(os.path.join(supportMatfolder+"\energy-input-copper-hydro.csv"), index_col='year')
cu_hydro_raw.dropna(how='all')
| E_hydro_Cu_kWhpkg | PrctFuel | Source | Notes | |
|---|---|---|---|---|
| year | ||||
| 1980 | 12.840 | 0.0 | Pitt, C. H., and M. E. Wadsworth. 1980. “Asses... | omitting roast/sulfite reduction and cymet |
| 2002 | 3.100 | 9.7 | Alvarado, S, P Maldonado, A Barrios, and I Jaq... | table 4, electrowinning |
| 2008 | 4.160 | 40.3 | Marsden, John O. “Energy Efficiency & Copper H... | heap leach, sx ew |
| 2009 | 3.350 | NaN | Bleiwas, Donald. 2011. “Estimates of Electrici... | Table 13, per tonne Cu, includes Secondary cru... |
| 2015 | 3.325 | 2.0 | Lagos, Gustavo, David Peters, Alvaro Videla, a... | only considers hydro in 2015 in Chile, fig. 3 ... |
fig, ax1 = plt.subplots()
ax1.scatter(cu_hydro_raw.index, cu_hydro_raw['E_hydro_Cu_kWhpkg'], marker='o')
ax1.set_ylabel('kWh/kg')
ax1.set_ylim(0,)
ax2 = ax1.twinx()
ax2.scatter(cu_hydro_raw.index, cu_hydro_raw['PrctFuel'], marker='^', color='red')
ax2.set_ylabel('Percent Fuel [%]', color='red')
ax2.set_ylim(0,100)
plt.title('Cu Hydrometallurgy kWhpkg')
plt.show()
Since 2002, the energy intensity looks pretty constant. Therefore, we'll take the average after 2002.
the 1980 data point is quite high, but this might be real. Will interpolate between 1980 and 2002.
cu_hydro_post_2002 = cu_hydro_raw.loc[2002:,'E_hydro_Cu_kWhpkg'].mean()
cu_hydro_post_2002_fuel = cu_hydro_raw.loc[2002:,'PrctFuel'].mean()
cu_hydro = cu_hydro_raw.copy()
cu_hydro.loc[2002:,'E_hydro_Cu_kWhpkg']=cu_hydro_post_2002
cu_hydro.loc[2002:,'PrctFuel']=cu_hydro_post_2002_fuel
cu_hydro_filled = cu_hydro.interpolate()
cu_hydro_final = cu_hydro_filled.loc[1995:,['E_hydro_Cu_kWhpkg','PrctFuel']]
#cu_hydro_final
fig, ax1 = plt.subplots()
ax1.plot(cu_hydro_final.index, cu_hydro_final['E_hydro_Cu_kWhpkg'])
ax1.set_ylabel('kWh/kg')
ax1.set_xlim(1995,2030)
ax1.set_ylim(0,)
ax2 = ax1.twinx()
ax2.plot(cu_hydro_final.index, cu_hydro_final['PrctFuel'], color='red')
ax2.set_ylabel('Percent Fuel [%]', color='red')
ax2.set_ylim(0,100)
plt.title('Cu Hydrometallurgy kWhpkg')
plt.show()
#import marketshare
mrktshr_pyrohydro_raw = pd.read_excel(os.path.join(supportMatfolder+"\energy-inputs-copper-maths.xlsx"),
sheet_name='pyrovshydro', index_col=0, header=[0])
mrktshr_pyrohydro = mrktshr_pyrohydro_raw[['% PYRO','% HYDRO']]
plt.stackplot(mrktshr_pyrohydro.index, mrktshr_pyrohydro['% PYRO'], mrktshr_pyrohydro['% HYDRO'], colors=['orange','skyblue'])
plt.legend(mrktshr_pyrohydro.columns, loc='lower right')
<matplotlib.legend.Legend at 0x22909c3c910>
Now we multiply the energies by their percentages, and re-calculate fuel percentage
#calculate fuel energy
cu_hydro_final['E_hydro_Cu_fuel_kWhpkg'] = cu_hydro_final['E_hydro_Cu_kWhpkg']*(cu_hydro_final['PrctFuel']/100)
cu_pyro_final['E_Pyro_Cu_fuel_kWhpkg'] = cu_pyro_final['E_Pyro_Cu_kWhpkg']*(cu_pyro_final['PrctFuel']/100)
cu_hydro_final.head(5)
| E_hydro_Cu_kWhpkg | PrctFuel | E_hydro_Cu_fuel_kWhpkg | |
|---|---|---|---|
| year | |||
| 1995 | 6.460739 | 11.818182 | 0.763542 |
| 1996 | 6.035455 | 12.606061 | 0.760833 |
| 1997 | 5.610170 | 13.393939 | 0.751423 |
| 1998 | 5.184886 | 14.181818 | 0.735311 |
| 1999 | 4.759602 | 14.969697 | 0.712498 |
cu_pyro_final.head(5)
| E_Pyro_Cu_kWhpkg | PrctFuel | E_Pyro_Cu_fuel_kWhpkg | |
|---|---|---|---|
| year | |||
| 1995 | 9.939444 | 44.444444 | 4.417531 |
| 1996 | 10.030741 | 45.407407 | 4.554699 |
| 1997 | 10.122037 | 46.370370 | 4.693626 |
| 1998 | 10.213333 | 47.333333 | 4.834311 |
| 1999 | 10.304630 | 48.296296 | 4.976754 |
hydro_ehydroprct + pyro_epyroprct same for fuel
mrktshr_pyrohydro_filled = mrktshr_pyrohydro.loc[1995:].ffill() #create through 2050 (just maintained marketshare)
Cu_metallurgy_e = mrktshr_pyrohydro_filled['% PYRO']*cu_pyro_final['E_Pyro_Cu_kWhpkg']+mrktshr_pyrohydro_filled['% HYDRO']*cu_hydro_final['E_hydro_Cu_kWhpkg']
Cu_metallurgy_e_fuel = mrktshr_pyrohydro_filled['% PYRO']*cu_pyro_final['E_Pyro_Cu_fuel_kWhpkg']+mrktshr_pyrohydro_filled['% HYDRO']*cu_hydro_final['E_hydro_Cu_fuel_kWhpkg']
Cu_metallurgy_e_prctfuel = Cu_metallurgy_e_fuel/Cu_metallurgy_e*100 #back into percent fuel
Cu_metallurgy_energy = pd.concat([Cu_metallurgy_e,Cu_metallurgy_e_prctfuel], axis=1, keys=['E_Cu_metallurgy_kWhpkg','PrctFuel'])
Cu_metallurgy_energy.head(5)
| E_Cu_metallurgy_kWhpkg | PrctFuel | |
|---|---|---|
| 1995 | 9.587714 | 42.221508 |
| 1996 | 9.517284 | 42.734129 |
| 1997 | 9.407868 | 43.257701 |
| 1998 | 9.381570 | 44.302701 |
| 1999 | 9.269918 | 45.103279 |
cu_wireDraw_raw = pd.read_csv(os.path.join(supportMatfolder+"\energy-input-copper-wireDraw.csv"), index_col='year')
cu_wireDraw_raw.dropna(how='all')
| E_wireDraw_kWhpkg | PrctFuel | Source | Notes | |
|---|---|---|---|---|
| year | ||||
| 1995 | 2.778000 | NaN | G. J. M. Phylipsen and E. A. Alsema, “Environm... | Estimate, 18 GJ/ton to melt Cu, only need to s... |
| 2010 | 0.230944 | NaN | Bumby, Sarah, Ekaterina Druzhinina, Rebe Feral... | LCA of grid distribution system, Supplemental ... |
| 2018 | 0.169952 | NaN | Rodriguez-Alabanda, O., P. E. Romero, G. Guerr... | are selling a software optimizing wire pulling... |
| 2021 | 2.160795 | NaN | Yu, Huiling, Hao Sun, Weixia Liu, Ruiqiu Zhang... | Table 1 updrawing casting machine + big drawin... |
fig, ax1 = plt.subplots()
ax1.scatter(cu_wireDraw_raw.index, cu_wireDraw_raw['E_wireDraw_kWhpkg'], marker='o')
ax1.set_ylabel('kWh/kg')
ax1.set_ylim(0,5)
ax2 = ax1.twinx()
ax2.scatter(cu_wireDraw_raw.index, cu_wireDraw_raw['PrctFuel'], marker='^', color='red')
ax2.set_ylabel('Percent Fuel [%]', color='red')
ax2.set_ylim(0,100)
plt.title('Cu_WireDraw_kWhpkg')
plt.show()
Not a huge range. The lowest point is likely too low, paper is demonstrating software optimization. Dropping two low points and interpolate the rest.
cu_wireDraw_mod = cu_wireDraw_raw.copy()
cu_wireDraw_mod.loc[2009:2018] = np.nan
cu_wireDraw_mod.interpolate(inplace=True)
cu_wireDraw_mod['PrctFuel'] = 0.0
cu_wireDraw_final = cu_wireDraw_mod.iloc[:,[0,1]]
Cu_MFGing_e_final = pd.DataFrame(index=indx_temp, columns=['E_Cu_mfging_kWhpkg','PrctFuel'])
#percent fuel to fuel energy for each
cu_mining_energy['E_Cu_mining_fuel_kWhpkg'] = cu_mining_energy['E_Cu_Mining_kWhpkg']*cu_mining_energy['PrctFuel']/100
Cu_metallurgy_energy['E_Cu_metallurgy_fuel_kWhpkg'] = Cu_metallurgy_energy['E_Cu_metallurgy_kWhpkg']*Cu_metallurgy_energy['PrctFuel']/100
cu_wireDraw_final['E_wireDraw_fuel_kWhpkg'] = cu_wireDraw_final['E_wireDraw_kWhpkg']*cu_wireDraw_final['PrctFuel']/100
C:\Users\hmirletz\AppData\Local\Temp\1\ipykernel_16272\1292583190.py:4: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy cu_wireDraw_final['E_wireDraw_fuel_kWhpkg'] = cu_wireDraw_final['E_wireDraw_kWhpkg']*cu_wireDraw_final['PrctFuel']/100
Cu_mfging_fuel_e = cu_mining_energy['E_Cu_mining_fuel_kWhpkg']+Cu_metallurgy_energy['E_Cu_metallurgy_fuel_kWhpkg']+cu_wireDraw_final['E_wireDraw_fuel_kWhpkg']
Cu_mfging_e = cu_mining_energy['E_Cu_Mining_kWhpkg']+Cu_metallurgy_energy['E_Cu_metallurgy_kWhpkg']+cu_wireDraw_final['E_wireDraw_kWhpkg']
Cu_MFGing_e_final['PrctFuel']=Cu_mfging_fuel_e/Cu_mfging_e*100
Cu_MFGing_e_final['E_Cu_mfging_kWhpkg'] = Cu_mfging_e
#Cu_MFGing_e_final
fig, ax1 = plt.subplots()
ax1.scatter(Cu_MFGing_e_final.index, Cu_MFGing_e_final['E_Cu_mfging_kWhpkg'], marker='o')
ax1.set_ylabel('kWh/kg')
ax1.set_ylim(0,20)
ax2 = ax1.twinx()
ax2.scatter(Cu_MFGing_e_final.index, Cu_MFGing_e_final['PrctFuel'], marker='^', color='red')
ax2.set_ylabel('Percent Fuel [%]', color='red')
ax2.set_ylim(0,100)
plt.title('Cu_MFGing_Energy_kWhpkg')
plt.show()
Cu_MFGing_e_final = round(Cu_MFGing_e_final,2)
Cu_MFGing_e_final.to_csv(os.path.join(supportMatfolder+'\output_energy_Cu_Mfging.csv'))
cu_recycle_raw = pd.read_csv(os.path.join(supportMatfolder+"\energy-input-copper-recycle.csv"), index_col='year')
cu_recycle_raw.dropna(how='all')
plt.scatter(cu_recycle_raw.index, cu_recycle_raw['E_recycleCu_kWhpkg'])
We will use Dong et al 2022, based on their inventory in their supplemental information. We will use the WEEE specific data (2018), CED, which account for processing e-waste (which is the closest approximation to a PV module), then smelts and refines the copper.
I cannot find any information on low purity copper recycling, therefore, we will assume all this copper gets recycled to high quality (i.e. LQ recycling will be all energy). The energy associated with HQ will be the wire drawing energy (calculated above). We will also assume the same fuel fraction for recycling as primary since it is using the same smelting processes.